<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">

<script src="jquery-3.1.1.js"></script>


<script type="text/javascript">

	// phoneCheck();
	// function phoneCheck(){
	// 	console.log('phoneCheck');
		
	// 	var u = navigator.userAgent;
	// 	if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) {
	// 		//安卓手机
	// 			window.location.href = "http://sj.qq.com/myapp/detail.htm?apkName=me.huankuanbao.www";
	// 	} else if ( u.indexOf('iPhone') > -1 ) {
	// 		//苹果手机
	// 			[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"itms-apps://itunes.apple.com/app/id1266550750"]];
	// 	} 
	// }//判断手机系统 End

	women();
	function women(){
		var u = navigator.userAgent;
		var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
		var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
		
		if (isAndroid){
			console.log(1);
			window.location.href = "http://sj.qq.com/myapp/detail.htm?apkName=me.huankuanbao.www";
		}
		if (isiOS){
			console.log(2);
			window.location.href = 'https://www.baidu.com';
		}
	}





</script>
</head>
<body></body>
</html>